import { Module } from '@nestjs/common';
import { ChargeController } from './charge.controller';
import { ChargeService } from './charge.service';
import { AliIotModule } from 'apps/ali-iot/src/ali-iot.module';
import { ChargeOrderModule } from '../charge-order/charge-order.module';
import { TypeOrmModule } from '@nestjs/typeorm';
import { PrivateChargeRecord } from '@app/db/entities/PrivateChargeRecord';
import { ChargingStation } from '@app/db/entities/ChargingStation';
import { ChargingCard } from '@app/db/entities/ChargingCard';
import { UserModule } from '../user/user.module';
import { CardRechargeOrder } from '@app/db/entities/CardRechargeOrder';

@Module({
  imports : [AliIotModule, ChargeOrderModule, UserModule, TypeOrmModule.forFeature([PrivateChargeRecord, ChargingStation, ChargingCard])],
  controllers: [ChargeController],
  providers: [ChargeService]
})
export class ChargeModule {}
